package cn.deschen.eshop.auth.service;

import org.springframework.security.access.ConfigAttribute;

import java.util.Map;

/**
 * @Author hanbin_chen
 * @Description 动态权限相关业务类
 * @DateTime 2021/1/15 14:23
 * @Version V1.0.0
 */
public interface DynamicSecurityService {

    /**
     * 加载资源通配符（ant模式）与权限资源的映射
     * @return
     */
    Map<String, ConfigAttribute> loadDataSource();
}
